package 类与对象.多态;

public class Dog extends Animal{
    public Dog(String name){
        super(name);
    }
    public void run(){
        System.out.println("狗 running\t"+this.getName());
    }
}
